package com.eastcom.client;

import java.io.Serializable;
import java.util.Date;

public class NeTypeDataSetStatiBean implements Serializable{

	private String typeId;
	
	private String typeName;
	
	private Date timeStamp;
	
	private int dataSetSum=0;
	
	private int unIntegerSum=0;
	
	private int unNormalSum=0;

	private Double unIntegerRatio;
	
	private Double unNormalRatio;
	
	public Double getUnIntegerRatio() {
		return unIntegerRatio;
	}

	public void setUnIntegerRatio(Double unIntegerRatio) {
		this.unIntegerRatio = unIntegerRatio;
	}

	public int getUnIntegerSum() {
		return unIntegerSum;
	}

	public void setUnIntegerSum(int unIntegerSum) {
		this.unIntegerSum = unIntegerSum;
	}

	public Double getUnNormalRatio() {
		return unNormalRatio;
	}

	public void setUnNormalRatio(Double unNormalRatio) {
		this.unNormalRatio = unNormalRatio;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public int getDataSetSum() {
		return dataSetSum;
	}

	public void setDataSetSum(int dataSetSum) {
		this.dataSetSum = dataSetSum;
	}

	public Date getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}

	public int getUnNormalSum() {
		return unNormalSum;
	}

	public void setUnNormalSum(int unNormalSum) {
		this.unNormalSum = unNormalSum;
	}
	
	public void updateUnIntegerSum(boolean integer){
		if(!integer)
			this.unIntegerSum++;
	}
	
	public void updateUnNormalSum(boolean normal){
		if(!normal)
			this.unNormalSum++;
	}
	
}
